package com.junxonline.instant.common.annotation;

import com.junxonline.instant.common.enumeration.OperationEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 终端操作日志注解类
 *
 * @author JunX
 * @date 2021-06-15
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DeviceOperationLog {

    /**
     * 标签
     *
     * @return label
     */
    String label();

    /**
     * 值
     *
     * @return OperationEnum
     */
    OperationEnum type();

}
